﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;

using CSF.BusinessCore.Service;
using CSF.Customers.Data;

namespace CSF.Customers.Service
{
    [ServiceContract]
    public interface ICustomerUserApplySvc : IDataIdKeyService<CustomerUserApply>, IDataEntityService<CustomerUserApply>
    {
        [OperationContract]
        List<CustomerUserApply> GetByApprovalStatus(ApprovalStatus status);

        [OperationContract]
        bool Approve(int id, int customerId, string approveComment, string approveBy);

        [OperationContract]
        bool Disapprove(int id, string approveComment, string approveBy);
    }
}
